package cn.net.xyan.tts.api;

import javax.sound.sampled.AudioInputStream;

/**
 * Created by zarra on 2017/1/26.
 */
public interface ISynthesizer {
    void speak(String word, Object option);
    AudioInputStream audioStream();

    int getRate();
    void setRate(int rate);

    int getVolume();
    void setVolume(int volume);

    WaveFormat getWaveFormat();
}
